package com.ms.education.course.service;

import com.ms.education.course.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ms.education.course.entity.vo.ChapterSortVo;

import java.util.List;

/**
 * <p>
 * 课程章节 服务类
 * </p>
 *
 * @author ms
 * @since 2023-01-17
 */
public interface ChapterService extends IService<Chapter> {


    void removeBatchByCourseIds(List<Integer> idList);

    List<Chapter> list(Integer courseId);

    void removeById(Integer id);


    void updateChapterAndVideoSort(List<ChapterSortVo> chapterSortVos);
}
